<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>JLemos Admin</title>

    <!-- Bootstrap core CSS -->
    <link href="css/bootstrap.css" rel="stylesheet">

    <!-- Add custom CSS here -->
    <link href="css/sb-admin.css" rel="stylesheet">
    <link rel="stylesheet" href="font-awesome/css/font-awesome.min.css">
	<link rel="stylesheet" href="css/mileniun.css">
	<link rel="stylesheet" href="css/services.css">
	
    <!-- JavaScript -->
   </head>

  <body>
	<div id="wrapper">

      <!-- Sidebar -->
      <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
        <img src="img/nuvem.png" class="topoVento"/>
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <!--<a class="navbar-brand" href="index.html"><img src="img/logo.pngd" alt="Milleniun Logo"/></a>-->
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse navbar-ex1-collapse">
		
          <ul class="nav navbar-nav side-nav">
		  
		  <li class="dropdown">
				<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa"><img class="logoImg" src="img/client.png"/></i> Gerenciar Clientes <b class="caret"></b></a>
				<ul class="dropdown-menu">
					<li><a href="cadastroEquipamento.html">Gerenciar Equipamentos</a></li>
					<li><a href="cadastroQuadroEletrico.html">Gerenciar Quadro Elétrico</a></li>
					<li><a href="cadastroBandeira.html">Gerenciar Bandeira</a></li>
					<li><a href="cadastroFilial.html">Gerenciar Filial</a></li>
					<li><a href="#">Lista de Bandeiras</a></li>
					<li><a href="consultarFilial.html">Consultar Filiais</a></li>
					<li><a href="#">Lista de Aparelho</a></li>
				</ul>
			</li>
			<!--<li class="dropdown">
				<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa"><img class="logoImg" src="img/ferramentas.png"/></i> Ferramentas <b class="caret"></b></a>
				<ul class="dropdown-menu">
					<li><a href="#">...</a></li>
				</ul>
			</li>
			<li class="dropdown">
				<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa"><img class="logoImg" src="img/finan.png"/></i> Financeiro <b class="caret"></b></a>
				<ul class="dropdown-menu">
					<li><a href="#">...</a></li>
				</ul>
			</li>
			<li class="dropdown">
				<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa"><img class="logoImg" src="img/supri.png"/></i> Suprimentos <b class="caret"></b></a>
				<ul class="dropdown-menu">
					<li><a href="#">...</a></li>
				</ul>
			</li>-->
          </ul>

          <ul class="nav navbar-nav navbar-right navbar-user">
           <!-- <li class="dropdown messages-dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa"><img class="logoImgMin" src="img/message.png"/></i> Messages <span class="badge">7</span> <b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li class="dropdown-header">7 New Messages</li>
                <li class="message-preview">
                  <a href="#">
                    <span class="avatar"><img src="http://placehold.it/50x50"></span>
                    <span class="name">John Smith:</span>
                    <span class="message">Hey there, I wanted to ask you something...</span>
                    <span class="time"><i class="fa fa-clock-o"></i> 4:34 PM</span>
                  </a>
                </li>
                <li class="divider"></li>
                <li class="message-preview">
                  <a href="#">
                    <span class="avatar"><img src="http://placehold.it/50x50"></span>
                    <span class="name">John Smith:</span>
                    <span class="message">Hey there, I wanted to ask you something...</span>
                    <span class="time"><i class="fa fa-clock-o"></i> 4:34 PM</span>
                  </a>
                </li>
                <li class="divider"></li>
                <li class="message-preview">
                  <a href="#">
                    <span class="avatar"><img src="http://placehold.it/50x50"></span>
                    <span class="name">John Smith:</span>
                    <span class="message">Hey there, I wanted to ask you something...</span>
                    <span class="time"><i class="fa fa-clock-o"></i> 4:34 PM</span>
                  </a>
                </li>
                <li class="divider"></li>
                <li><a href="#">View Inbox <span class="badge">7</span></a></li>
              </ul>
            </li>
            <li class="dropdown alerts-dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa"><img class="logoImgMin" src="img/alert.png"/></i> Alerts <span class="badge">3</span> <b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li><a href="#">Default <span class="label label-default">Default</span></a></li>
                <li><a href="#">Primary <span class="label label-primary">Primary</span></a></li>
                <li><a href="#">Success <span class="label label-success">Success</span></a></li>
                <li><a href="#">Info <span class="label label-info">Info</span></a></li>
                <li><a href="#">Warning <span class="label label-warning">Warning</span></a></li>
                <li><a href="#">Danger <span class="label label-danger">Danger</span></a></li>
                <li class="divider"></li>
                <li><a href="#">View All</a></li>
              </ul>
            </li>-->
            <li class="dropdown user-dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa"><img class="logoImgMin" src="img/people.png"/></i> John Smith <b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li><a href="#"><i class="fa fa-user"></i> Profile</a></li>
                <li><a href="#"><i class="fa fa-envelope"></i> Inbox <span class="badge">7</span></a></li>
                <li><a href="#"><i class="fa fa-gear"></i> Settings</a></li>
                <li class="divider"></li>
                <li><a href="#"><i class="fa fa-power-off"></i> Log Out</a></li>
              </ul>
            </li>
          </ul>
        </div><!-- /.navbar-collapse -->
      </nav>

    <div id="page-wrapper">
		 <div class="row">
          <div class="col-lg-12">
            <h1>Adicionar Quadro Elétrico</h1>
            <ol class="breadcrumb">
              <li><a href="index.html"><i class="fa"></i> ! aqui fica o breadcrumb !</a></li>
            </ol>
          </div>
        </div><!-- /.row -->
		<div class="row">
			<div class="col-lg-6">
				<form role="form">
					<label>Dijuntor</label>
					<div class="form-group input-group dijuntor">
						<input class="form-control dijuntor" id="dijuntor">
						<span class="input-group-addon">A</span>
					</div>
					
					<label>Bitola do fio</label>
					<div class="form-group input-group bitolaFio">
						<input class="form-control bitolaFio" id="bitolaFio">
						<span class="input-group-addon">mm</span>
					</div>
					
					<div class="form-group">
						<label>Observacão</label>
						<textarea class="form-control" rows="5"></textarea>
					</div>
				</form>	
			</div><!-- /.row -->
		</div><!-- /#page-wrapper -->
	</div><!-- /#wrapper -->
	
	<script src="js/jquery-1.10.2.js"></script>
	<script src="js/bootstrap.js"></script>
	<script type="text/javascript" src="js/jquery-1.3.2.js"></script>  
	<script type="text/javascript" src="js/jquery.maskedinput-1.2.2.js"></script>  
	 
	<script type="text/javascript">  
		$(document).ready(function(){

			function replaceNumber(elm)
			{
				var valor = $(elm).val().replace(/[^0-9]+/g,'');
				$(elm).val(valor);
			}
			
			function maximumLength(elm, size)
			{
				$(elm).attr('maxlength',''+size+'');
			}
			
			$("#dijuntor").keyup( function() {
				replaceNumber(this);
			});
			
			$("#bitolaFio").keyup( function() {
				replaceNumber(this);
			});
			
			$( "#capacidade" ).keypress( function(){
				maximumLength(this, 6);
			});
			
			$( "#dijuntor" ).keypress( function(){
				maximumLength(this, 4);
			});
			
			$( "#bitolaFio" ).keypress( function(){
				maximumLength(this, 4);
			});
		
		});  
	</script>  
  </body>
</html>